4D Chart v13

CT GET CHART LINE ATTRIBUTES

Home

 
4D Chart v13
CT GET CHART LINE ATTRIBUTES

CT GET CHART LINE ATTRIBUTES 


 

CT GET CHART LINE ATTRIBUTES ( area ; object ; partType ; partSpecifics ; pattern ; color ; lineWidth ) 
Parameter Type   Description
area  Longint in 4D Chart area
object  Longint in Object ID
partType  Integer in Type of object for which to get attributes
partSpecifics  Longint in Specific part of object for which to get attributes
pattern  Integer in Receives pattern number (1 to 36)
color  Longint in Receives color value (>= 0)
lineWidth  Real in Receives line thickness in points (>= 0)

The CT GET CHART LINE ATTRIBUTES command returns the attributes of the specified line in the pattern, color, and lineWidth parameters.

The line for which the attributes should be retrieved are specified by area, object, partType, and partSpecifics.

partType and partSpecifics specify the part of the graph for which to get the attributes. The codes for these parameters are listed in the section Parameter Codes.

pattern is an integer from 1 to 36 that specifies one of the patterns available on the Pattern palette. The codes for the pattern parameter are listed in the section Parameter Codes.

color is a long integer that specifies the color of the object. You can specify a value for the color parameter by using the CT Index to color or the CT RGB to color functions.

lineWidth is the thickness of the line, measured in points.

Note: To get the attributes of lines added to the document using the Line tool or the CT Draw line function, use the commands in the Object theme.

Example  

This example returns the plot rectangle’s line attributes for the chart specified by $ChartID in the $Pattern, $Color, and $Line parameters.

 CT GET CHART LINE ATTRIBUTES(Area;$ChartID;1;0;$Pattern;$Color;$Line)

 
PROPERTIES 

Product: 4D Chart
Theme: CT Chart
Number: 14588

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D Chart 1

 
SEE ALSO 

CT SET CHART LINE ATTRIBUTES